<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;

class AdminTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('admins')->insert([
            'username'  => 'admin',
            'email'     => '',
            'nickname'  => '超级管理员',
            'password'  => Hash::make('111111'),
            'created_at'    => time(),
            'updated_at'    => time(),
        ]);
    }
}
